package com.wyq.domain.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 *
 * @TableName note
 */
@TableName(value ="note")
@Data
@Schema(description = "笔记")
public class Note implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ExcelProperty(value = { "基本信息", "序号" })  //需要在表格显示的列
    private Integer id;

    /**
     * 笔记内容
     */
    @Schema(description = "笔记内容")
    @ExcelProperty(value = { "基本信息", "内容" })  //需要在表格显示的列
    private String content;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}
